#!/usr/bin/env python
# -*- coding:utf-8 -*-

from flask_restful import Api

from . import recommandinfo_blueprint
from api_1_0.recommandInfoResource.recommandInfoResource import RecommandInfoResource
from api_1_0.recommandInfoResource.recommandInfoOtherResource import RecommandInfoOtherResource

api = Api(recommandinfo_blueprint)

api.add_resource(RecommandInfoResource, '/recommandInfo/<AutoID>', '/recommandInfo', endpoint='recommandInfo')


# joint query
@recommandinfo_blueprint.route('/recommandInfo/query', methods=['GET'], endpoint='recommandInfo_query')
def RecommandInfo_query():
    return RecommandInfoOtherResource.joint_query()

